using System;
namespace Microsoft.Data.Edm.Expressions
{
	/// <summary>
	/// Represents an EDM if expression.
	/// </summary>
	public interface IEdmIfExpression : IEdmExpression, IEdmElement
	{
		/// <summary>
		/// Gets the test expression.
		/// </summary>
		IEdmExpression TestExpression
		{
			get;
		}
		/// <summary>
		/// Gets the expression to evaluate if <see cref="P:Microsoft.Data.Edm.Expressions.IEdmIfExpression.TestExpression" /> evaluates to true.
		/// </summary>
		IEdmExpression TrueExpression
		{
			get;
		}
		/// <summary>
		/// Gets the expression to evaluate if <see cref="P:Microsoft.Data.Edm.Expressions.IEdmIfExpression.TestExpression" /> evaluates to false.
		/// </summary>
		IEdmExpression FalseExpression
		{
			get;
		}
	}
}